package com.example.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class RegisterException extends RuntimeException {

    private Integer code;

    private String message;

    public RegisterException(String message, Integer code) {
        this.message = message;
        this.code = code;
    }

}
